package data;

import org.jboss.netty.buffer.ChannelBuffer;

import com.mongodb.BasicDBObject;

public class SGDailyPrize {
	public static void readToDBObject(ChannelBuffer buf, BasicDBObject db) {
	    db.put("dayIndex", buf.readInt());
	    db.put("awardClaimed", buf.readByte());
	}
	
}
